package me.lijf.xapi.controller;

import me.lijf.xapi.dto.RestResponse;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;

@RestController
public class EchoController {
    @PostMapping("/")
    public RestResponse echo(){
        return RestResponse.success(new Date());
    }
}
